/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.office.entities;

import io.quarkus.hibernate.orm.panache.PanacheEntityBase;
import jakarta.persistence.*;

/**
 * @author Administrator
 */
@Entity
@Table(name = "APPOINTMENTMESSAGE")
public class Appointmentmessage extends EntityCommon<Appointmentmessage> implements Identifiable{

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "ID")
    private Integer ID;
    @Column(name = "MESSAGE", length = 1000)
    private String MESSAGE;

    @Column(name = "TEACHERID")
    private Integer TEACHERID;


    public Appointmentmessage() {

    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer id) {
        this.ID = id;
    }

    public String getMESSAGE() {
        return MESSAGE;
    }

    public void setMESSAGE(String message) {
        this.MESSAGE = message;
    }


    public Integer getTEACHERID() {
        return TEACHERID;
    }

    public void setTEACHERID(Integer teacherid) {
        this.TEACHERID = teacherid;
    }

    @Override
    public String toString() {
        return "eintity.Appointmentmessage[ id=" + ID + " ]";
    }

}
